Since shadow_update_paging_modes() will modify v->arch.hvm_vcpu.hw_cr3,
authorTim Deegan <tim.deegan@xensource.com>
Mon, 9 Oct 2006 09:18:11 +0000 (10:18 +0100)
committerTim Deegan <tim.deegan@xensource.com>
Mon, 9 Oct 2006 09:18:11 +0000 (10:18 +0100)
commite30cc6aed69eabd142b640c7a15298e1850a655e
treee07aea0bdefe05610a9c887a1d2fe6d09c38aef5
parent1febf1acf71be37343a2a98dd0a297d52b449160
Since shadow_update_paging_modes() will modify v->arch.hvm_vcpu.hw_cr3,
so we should always do shadow_update_paging_modes() before we writes to
GUEST_CR3 with v->arch.hvm_vcpu.hw_cr3.

Signed-off-by: Xiaohui Xin xiaohui.xin@intel.com
Signed-off-by: Xin Li <xin.b.li@intel.com>
xen/arch/x86/hvm/vmx/vmx.c